hasMetadata

abstract fun hasMetadata(block: DesignBlock, key: String): Boolean

Check if the block has metadata associated with the key.

Return

whether the key exists.

Parameters

block

the block whose metadata will be accessed.

key

the key used to identify the desired piece of metadata.